home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / bench / x.txt / 000148_fdc@watsun.cc.columbia.edu_Wed Nov 14 16:48:59 EST 2001.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  81 lines

  1. Article: 12968 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
  3. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: ZModem Problems
  6. Date: 14 Nov 2001 21:48:54 GMT
  7. Organization: Columbia University
  8. Lines: 64
  9. Message-ID: <9suos6$puh$1@newsmaster.cc.columbia.edu>
  10. References: <336f652d.0111141329.b5d3ad@posting.google.com>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1005774534 26577 128.59.39.2 (14 Nov 2001 21:48:54 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 14 Nov 2001 21:48:54 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12968
  16.  
  17. In article <336f652d.0111141329.b5d3ad@posting.google.com>,
  18. Shifeux <shifeux@hotmail.com> wrote:
  19. : Hello,  I am using C-Kermit 7 to connect to a remote host which
  20. : supports the zmodem transfer protocol.  I am able to transfer files
  21. : easily using interactive mode...
  22. :
  23. You mean, when running Zmodem software as an external protocol
  24. over a Kermit connection?
  25.  
  26. : ... but I get the following error using my
  27. : script after issuing a receive * command:
  28. : Readline:TIMEOUT
  29. : Retry 0: Got TIMEOUT
  30. These are messages from the Zmodem software.
  31.  
  32. : This "timeout" seems to be the same time (after 10 seconds) regardless
  33. : of what I set my client timeout to.  My modem settings are as follows.
  34. : set file type binary
  35. : set proto z {rz} {rz -a} {sz %s} {sz -a %s}
  36. : set exit on-disconnect on
  37. : set exit warning off
  38. : ; set macro error on
  39. : set receive timeout 94        <--
  40. : set send timeout 15 dynamic   <--
  41. : set modem type usrobotics
  42. : set line /dev/tty01
  43. : set speed 38400
  44. : set flow xon/xoff
  45. The marked lines are effective only for Kermit transfers.
  46.  
  47. SET FLOW XON/XOFF might (or might not) interfere with Zmodem protocol.
  48.  
  49. : utput \13 
  50. Missing "o".
  51.  
  52. : output \%s\13
  53. : input 20 {Username:}
  54. : output USER\13
  55. : input 20 {Password:}
  56. : output PASS\13
  57. : input 20 {Transfer id:}
  58. : output PASSAGAIN\13
  59. : input 20 {Enter choice:}
  60. : output 2\13
  61. You're not checking any of these INPUTs for failure.  Thus even if you
  62. script doesn't work, it will still start Zmodem in receive mode, and of
  63. Zmodem will time out if there is no connection.
  64.  
  65. : receive *
  66.  
  67. What's the "*"?  This tells Kermit to save the incoming file under the
  68. name "*" (literally).  You probably didn't mean that.  Just leave it off.
  69.  
  70. - Frank
  71.